package cn.bandeqing.user.resp;

import cn.bandeqing.base.domain.AdminUserStore;
import cn.bandeqing.base.domain.CurrentAdminUser;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@AutoMapper(target = CurrentAdminUser.class, reverseConvertGenerate = false)
public class LoginResp implements Serializable {

    /**
     * 用户自增ID
     */
    private Integer usId;

    /**
     * 用户编码 xx00001
     */
    private String usUuid;

    /**
     * 用户昵称
     */
    private String usNickName;

    /**
     * 用户真实姓名
     */
    private String usRealName;

    /**
     * 用户登录密码
     */
    private String usPassword;

    /**
     * 用户密码加盐
     */
    private String usPasswordSalt;

    /**
     * 用户类型 0=本部 1=城市运营商 2=店铺
     */
    private Integer usType;

    /**
     * 用户状态 0=正常 1=冻结
     */
    private Integer usStatus;

    private String usHeadImgUrl;

    private List<String> roles;

    private List<String> auths;

    private List<AdminUserStore> stores;

    private String usEmail;

    private String usDesc;

    private String usPhone;

    private String usAddress;

    private Boolean superAdmin;

}
